﻿using System;
using System.Collections.Generic;

namespace JoyfulHomeJourney.BackEnd.Infrastructure.EFCore
{
    public partial class Tasks
    {
        public Tasks()
        {
            TaskAttachments = new HashSet<TaskAttachments>();
            TaskCategorieRelationships = new HashSet<TaskCategorieRelationships>();
            TaskHistorys = new HashSet<TaskHistorys>();
            TaskReminders = new HashSet<TaskReminders>();
            TaskSubtasks = new HashSet<TaskSubtasks>();
        }

        public string TId { get; set; }
        public string TAccountId { get; set; }
        public string TTitle { get; set; }
        public string TDescription { get; set; }
        public DateTime? TDueDate { get; set; }
        public string TStatus { get; set; }
        public string TPriority { get; set; }
        public DateTime? TCreatedAt { get; set; }
        public DateTime? TUpdatedAt { get; set; }
        public int? IsDeleted { get; set; }

        public virtual SysAccounts TAccount { get; set; }
        public virtual ICollection<TaskAttachments> TaskAttachments { get; set; }
        public virtual ICollection<TaskCategorieRelationships> TaskCategorieRelationships { get; set; }
        public virtual ICollection<TaskHistorys> TaskHistorys { get; set; }
        public virtual ICollection<TaskReminders> TaskReminders { get; set; }
        public virtual ICollection<TaskSubtasks> TaskSubtasks { get; set; }
    }
}
